import request from '@/utils/request'
import { microservices } from '@/utils'

// 单条新增
export function putBsSubjectApi (data) {
  return request({
    url: `${microservices.pcpesIs}/BsSubject`,
    method: 'put',
    data
  })
}
// 批量新增
export function putBatchSaveApi (data) {
  return request({
    url: `${microservices.pcpesIs}/BsSubject/batchSave`,
    method: 'put',
    data
  })
}
// 修改
export function postBsSubjectApi (data) {
  return request({
    url: `${microservices.pcpesIs}/BsSubject`,
    method: 'post',
    data
  })
}
// 删除
export function deleteBsSubjectByIds (ids) {
  return request({
    url: `${microservices.pcpesIs}/BsSubject/${ids}`,
    method: 'delete'
  })
}
// 列表信息
export function BsSubjectApi (params) {
  return request({
    url: `${microservices.pcpesIs}/BsSubject`,
    params
  })
}
// 查询-根据ID查询（单条）
export function BsSubjectByIdApi (id) {
  return request({
    url: `${microservices.pcpesIs}/BsSubject/${id}`
  })
}


